package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel.hyproject;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.*;
import java.util.Date;


@Entity
@Table(name = "t_hy_kernel_project")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(HyKernelProjectId.class)
public class HyKernelProject {
    @Id
    @Column(name="fc_id")
    @ExcelProperty("内核会编次")
    private String id;

    @Id
    @Column(name="fd_date")
    @ExcelProperty("召开日期")
    private Date date;

    @Id
    @Column(name="fc_project_name")
    @ExcelProperty("项目名称")
    private String projectName;

    @Column(name="fc_project_type")
    @ExcelProperty("项目类型")
    private String projectType;

    @Column(name="fc_department")
    @ExcelProperty("部门归属")
    private String department;

    @Column(name="fc_project_leader")
    @ExcelProperty("项目负责人/现场")
    private String projectLeader;

    @Column(name="fc_kernel_approval_date")
    @ExcelProperty("内核批文时间")
    private String approvalDate;

    @Column(name="fc_status")
    @ExcelProperty("表决情况")
    private String status;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getProjectType() {
        return projectType;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public void setProjectLeader(String projectLeader) {
        this.projectLeader = projectLeader;
    }

    public String getProjectLeader() {
        return projectLeader;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(String approvalDate) {
        this.approvalDate = approvalDate;
    }
}
